import JSEncrypt from 'jsencrypt';


const publicKey = `-----BEGIN PUBLIC KEY-----
MIGJAoGBAI6ucDThzLdFN+j2YyGFT43bEpk+cMXqkkRCfdwjXKHBFOXKI84lrpRT
nSeIN/p+WOCBuKfh/Z4rlkNWbN3uu3erWknRn3DuRHBVFrf19ONwqO9ns/iyVndD
C5WEU1QeNyB0FLe2ETdVZibdNsIb1YNaCPUkPCrVn+/CDYa8nPM9AgMBAAE=
-----END PUBLIC KEY-----`;

const encryptor = new JSEncrypt();
encryptor.setPublicKey(publicKey);

export default { encryptor }
